package com.myq.lawyermanager.dongao.mapper;

import com.myq.lawyermanager.dongao.entity.Lawyer;
import org.apache.ibatis.annotations.Mapper;

/**
 * 律师档案操作：创建 查询 删除 增加
 */
@Mapper
public interface LawyerMapper {
    /**
     * 添加律师 创建律师档案
     * @param lawyer  创建包含律师对信息的档案
     * @return  创建成功返回1 否则返回0
     */
    public int insertLawyer(Lawyer lawyer);
}
